package com.leucoderma.medicine.mapper;

import com.leucoderma.medicine.pojo.Drugs;
import com.leucoderma.medicine.pojo.Patient;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DrugsMapper {
    List<Drugs> listDrugs();
    Drugs getDrugById(int id);
    Drugs getDrugByName(String name);
    int insertNewDrug(Drugs drug);
}
